package com.ruoyi.mentor.mapper;

import com.ruoyi.common.core.page.BaseMapperPlus;
import com.ruoyi.mentor.domain.Spot;
import com.ruoyi.mentor.domain.Subject;
import com.ruoyi.mentor.vo.InstructorVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 招生名额Mapper接口
 *
 * @author LH
 * @date 2021-05-21
 */
public interface SpotMapper extends BaseMapperPlus<Spot> {

    List<Spot> getLastSpot(@Param("insId") Long insId, @Param("subId") Long subId);

    List<Map<String, Object>> getNotFullSpot();

    List<InstructorVo.SubVo> getSubjectList(@Param("insId") Long insId);
}
